package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TBusinessShopCode;
import com.bootdo.project.dao.TBusinessShopCodeMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TBusinessShopCodeService {

	@Autowired
    private TBusinessShopCodeMapper tBusinessShopCodeMapper;
    
    public int deleteByPrimaryKey(Integer id){
        return tBusinessShopCodeMapper.deleteByPrimaryKey(id);
    }

    public int insert(TBusinessShopCode record){
        return tBusinessShopCodeMapper.insert(record);
    }

    public int insertSelective(TBusinessShopCode record){
        return tBusinessShopCodeMapper.insertSelective(record);
    }

    public TBusinessShopCode selectByPrimaryKey(Integer id){
        return tBusinessShopCodeMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TBusinessShopCode record){
        return tBusinessShopCodeMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TBusinessShopCode record){
        return tBusinessShopCodeMapper.updateByPrimaryKey(record);
    }

    public List<TBusinessShopCode> selectByCondition(TBusinessShopCode record){
        return tBusinessShopCodeMapper.selectByCondition(record);
    }

    public List<TBusinessShopCode> selectAll(){
        return tBusinessShopCodeMapper.selectAll();
    }

    public List<TBusinessShopCode> selectByPage(Page<TBusinessShopCode> page){
        return tBusinessShopCodeMapper.selectByPage(page);
    }

    public Integer count(TBusinessShopCode record){
        return tBusinessShopCodeMapper.count(record);
    }

    public int deleteByCondition(TBusinessShopCode record){
        return tBusinessShopCodeMapper.deleteByCondition(record);
    }

}
